<%@ include file="/common/taglibs.jsp"%>
<%@ taglib prefix="search" tagdir="/WEB-INF/tags/search"%>
<probiz:pageHeading pageHeadingKey="appAuditList.heading" />
<content tag="buttons">
	<probiz:iconBtn btnType="delete" onclick="fnDoMultiDelete(this, false);" />
</content>

<search:searchBox formAction="${ctxPath}/tool/appAudit.html">
	<div class="basic_search">
		<search:basicSearch attrPath="procUsername" attrNameKey="appAudit.procUsername" datatype="String"
			operator="LIKE" classes="inputtxt" labelWidth="50px" style="width:150px" />
	</div>
	<div class="more_search">
		<table border="0" cellspacing="0" cellpadding="0" class="search_table">
			<search:input id="procObj" attrPath="procObj" attrNameKey="appAudit.procObj" datatype="String"
				operator="LIKE" classes="inputtxt" labelWidth="50px" style="width:150px" />
			<tr>
				<th>
					<fmt:message key="appAudit.procTime" />:
				</th>
				<td>
					<input type="text" id="startTime" name="COL@procTime@Date_Begin@GTE" readonly="true"
						value="${sc.param['COL@procTime@Date_Begin@GTE']}" style="width: 70px" class="inputtxt">
					<probiz:ui_datePicker outPut="startTime" />
					<fmt:message key="common.message.to" />
					<input type="text" id="endTime" name="COL@procTime@Date_End@LTE" readonly="true"
						value="${sc.param['COL@procTime@Date_End@LTE']}" style="width: 70px" class="inputtxt">
					<probiz:ui_datePicker outPut="endTime" />
				</td>
			</tr>
		</table>
	</div>
</search:searchBox>

<form class="mainForm" name="appAuditListFrm" method="post">
	<div class="data">
		<div class="top clearfix">
			<ul class="tab">
				<li class="curr">
					<span><fmt:message key="menu.securityLogList" />
					</span>
				</li>
			</ul>
			<%@include file="/common/pagingOnlyTop.jsp"%>
		</div>
		<c:set var="checkAll">
			<input type="checkbox" name="allbox" onclick="checkAll(this.form)" style="margin: 0 0 0 0px" />
		</c:set>
		<display:table name="${appAuditList}" cellspacing="0" cellpadding="0" id="appAuditItem"
			class="list_table" export="false" requestURI="">
			<display:column  style="width: 1%" headerClass="no"  title="${checkAll}"
				decorator="com.probiz.estore.core.decorator.TblColumnDecorator" media="html">
				<input type="checkbox" name="multiIds" value="${appAuditItem.appAuditId}" class="checkbox" />
			</display:column>
			<display:column style="width:10%" sortable="true" headerClass="data-table-title" titleKey="appAudit.procUsername">
				${appAuditItem.procUsername}
		    </display:column>
			<display:column style="width:13%"  sortable="true" headerClass="data-table-title"
				decorator="com.probiz.estore.core.decorator.TblColumnDecorator" titleKey="appAudit.actionName">
				<fmt:message key="appAudit.actionName.${appAuditItem.actionName}"/>
			</display:column>
			
			<display:column style="width:13%"  sortable="true" headerClass="data-table-title"
				decorator="com.probiz.estore.core.decorator.TblColumnDecorator" titleKey="appAudit.procResult" >
				<fmt:message key="appAudit.result.${appAuditItem.procResult}"/>
			</display:column>	
			<display:column style="" decorator="com.probiz.estore.core.decorator.TblColumnDecorator"
				property="remoteIpInfo" sortable="true" headerClass="data-table-title"
				titleKey="appAudit.remoteIpInfo" maxLength="50">
			</display:column>
			<display:column style="width:15%" sortable="true" headerClass="data-table-title"
				decorator="com.probiz.estore.core.decorator.TblColumnDecorator" titleKey="appAudit.procTime">
				<common:datetimeFormat date="${appAuditItem.procTime}" />
			</display:column>
		</display:table>
		<%@include file="/common/pagingOnly.jsp"%>
	</div>
</form>

<script type="text/javascript">
$j(document).ready(function(){
	highlightTableRows("appAuditItem");
});
</script>

